import request from '@/utils/request'

export function list(params) {
  return request({
    url: '/admin/payable/list',
    method: 'get',
    params: params
  })
}

export function find(id) {
  return request({
    url: '/admin/payable/find/' + id,
    method: 'get'
  })
}

export function save(data) {
  return request({
    url: '/admin/payable/save',
    method: 'post',
    data: data
  })
}


export function selectCountList(params) {
  return request({
    url: '/admin/payable/selectCountList',
    method: 'get',
    params: params
  })
}

export function summary(params) {
  return request({
    url: '/admin/payable/summary',
    method: 'get',
    params: params
  })
}

